<?php

switch($_GET['act']){
case "scan":require("controllers/truyen/scan.php");
break;
case "home":require("controllers/truyen/home.php");
break;
case "view":require("controllers/truyen/view.php");
break;
case "view_chuong":require("controllers/truyen/view_chuong.php");
break;
case "list_theloai":require("controllers/truyen/list_theloai.php");
break;
case "list_tacgia":require("controllers/truyen/list_tacgia.php");
break;
case "list_tag":require("controllers/truyen/list_tag.php");
break;
case "list_user":require("controllers/truyen/list_user.php");
break;
case "list_tinhtrang":require("controllers/truyen/list_tinhtrang.php");
break;
}



if(isset($_POST)){
	switch($_POST['act']){
		case 'pagination':
		require("controllers/anime/ajax.php");
		break;
		case 'fchuong':
		require("controllers/anime/ajax.php");
		break;
	}
}





?>